<link rel="shortcut icon" href="<?php echo base_url() ?>static/images/logoTelkomsel-favico.png" />
<link href="<?php echo base_url() ?>static/css/bootstrap.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/select2/select2.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/select2/select2-bootstrap.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/css/jquery.datetimepicker.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/js/Metro-UI-CSS/min/iconFont.min.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>static/css/print.css" />
<script type="text/javascript" src="<?php echo base_url(); ?>static/js/jquery-1.11.1.min.js"></script>

<script type="text/javascript" src="<?php echo base_url(); ?>static/select2/select2.min.js" ></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/js/select.js" ></script>


Andi Siswanto


<input type="text" value="" id="r_name" class="select2 form-control input-sm">
<input type="text" class="form-control input-sm" id="r_id" name="Emp_Id" value="<?php echo $Emp_Id;?>" readonly=""/>

<script type="text/javascript">
$("#r_name").change(function()
{
	var nik = $(this).val();
	var DataString = {id:nik};
	$.ajax({
			type: "POST",
			url : "<?php echo site_url('work_facility/globals_nik_detail')?>",
			dataType: 'json',
			data: DataString,
			success: function(data)
			{
				$("#r_id").val(data.DetailEmp.HR_ID);
				$("#r_mgr").val(data.DetailEmp.MANAGER);
				$("#r_dept").val(data.DetailEmp.ORG);
				$("#r_job").val(data.DetailEmp.JOB_POSITION);
				//document.Parking_add.Emp_Name.value = data.DetailEmp.NAME;
				//document.Parking_add.Emp_Mgr.value = data.DetailEmp.MANAGER;
				//document.Parking_add.Emp_Dept.value = data.DetailEmp.ORG;
				//document.Parking_add.Emp_Job.value = data.DetailEmp.JOB_POSITION;																
			}
			
		});
});
</script>